/* ==================== سکشن آمار و ویژگی‌ها ==================== */
.stats-section,
.features-section,
.faq-section {
    position: relative;
    z-index: 10;
    padding: 20px;
}

.stats-container,
.features-container,
.faq-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== استایل بخش آمار (افقی - آیکون راست) ========== */
.stats-header,
.features-header,
.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.stats-title,
.features-title,
.faq-title {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.gold-text {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.stats-subtitle,
.features-subtitle,
.faq-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
   
}

.stat-card {
    background: rgba(15, 25, 45, 0.5);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 15px 22px;
    min-width: 240px;
    flex: 1;
  
    transition: all 0.3s ease;
    /* حالت افقی */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1);
}

/* آیکون سمت راست */
.stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    order: 1;
}

/* محتوای متنی سمت چپ */
.stat-content {
    text-align:center;
    flex: 1;
    order: 2;
}

.stat-number {
    font-size: 1.7rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 4px;
    line-height: 1.2;

}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

/* استایل بخش ویژگی‌ها */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(15, 25, 45, 0.4);
    backdrop-filter: blur(8px);
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 228, 224, 0.6);
    background: rgba(15, 25, 45, 0.6);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.feature-name {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* استایل بخش سوالات متداول */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(15, 25, 45, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.5);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
}

.faq-icon {
    font-size: 1.2rem;
}

.faq-question span:nth-child(2) {
    flex: 1;
}

.faq-toggle {
    font-size: 1.3rem;
    color: #FFD700;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 22px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 22px 18px 22px;
}

/* ==================== ریسپانسیو کامل ==================== */

/* تبلت (768px تا 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .stats-section,
    .features-section,
    .faq-section {
        padding: 40px 20px;
    }
    
    .stats-title,
    .features-title,
    .faq-title {
        font-size: 2rem;
    }
    
    .stat-card {
        min-width: 210px;
        padding: 12px 18px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        padding:8px;
    }
    
    .feature-name {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* موبایل بزرگ (576px تا 768px) */
@media screen and (min-width: 576px) and (max-width: 768px) {
    .stats-section,
    .features-section,
    .faq-section {
        padding: 35px 15px;
    }
    
    .stats-header,
    .features-header,
    .faq-header {
        margin-bottom: 30px;
    }
    
    .stats-title,
    .features-title,
    .faq-title {
        font-size: 1.8rem;
    }
    
    .stats-subtitle,
    .features-subtitle,
    .faq-subtitle {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-card {
        min-width: calc(50% - 15px);
        max-width: none;
        padding: 12px 18px;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-desc {
        font-size: 0.65rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 18px 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .feature-name {
        font-size: 1rem;
    }
    
    .feature-desc {
        font-size: 0.75rem;
    }
    
    .faq-question {
        padding: 12px 18px;
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .faq-icon {
        font-size: 1rem;
    }
    
    .faq-toggle {
        font-size: 1.2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 18px 14px 18px;
        font-size: 0.8rem;
    }
}

/* موبایل متوسط (376px تا 576px) */
@media screen and (min-width: 376px) and (max-width: 576px) {
    .stats-section,
    .features-section,
    .faq-section {
        padding: 30px 12px;
    }
    
    .stats-header,
    .features-header,
    .faq-header {
        margin-bottom: 25px;
    }
    
    .stats-title,
    .features-title,
    .faq-title {
        font-size: 1.5rem;
    }
    
    .stats-subtitle,
    .features-subtitle,
    .faq-subtitle {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        gap: 12px;
    }
    
    .stat-card {
        min-width: calc(50% - 12px);
        max-width: none;
        padding: 10px 15px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-desc {
        font-size: 0.6rem;
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 16px 14px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .feature-name {
        font-size: 0.95rem;
    }
    
    .feature-desc {
        font-size: 0.7rem;
    }
    
    .faq-question {
        padding: 10px 15px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .faq-icon {
        font-size: 0.9rem;
    }
    
    .faq-toggle {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 12px 15px;
        font-size: 0.75rem;
    }
}

/* موبایل خیلی کوچک (تا 376px) */
@media screen and (max-width: 376px) {
    .stats-section,
    .features-section,
    .faq-section {
        padding: 25px 10px;
    }
    
    .stats-header,
    .features-header,
    .faq-header {
        margin-bottom: 20px;
    }
    
    .stats-title,
    .features-title,
    .faq-title {
        font-size: 1.3rem;
    }
    
    .stats-subtitle,
    .features-subtitle,
    .faq-subtitle {
        font-size: 0.75rem;
    }
    
    .stats-grid {
        gap: 10px;
    }
    
    .stat-card {
        min-width: calc(50% - 10px);
        max-width: none;
        padding: 8px 12px;
    }
    
    .stat-icon {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .stat-desc {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-card {
        padding: 14px 12px;
    }
    
    .feature-icon {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .feature-name {
        font-size: 0.9rem;
    }
    
    .feature-desc {
        font-size: 0.65rem;
    }
    
    .faq-question {
        padding: 10px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .faq-icon {
        font-size: 0.85rem;
    }
    
    .faq-toggle {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 12px 10px 12px;
        font-size: 0.7rem;
    }
}

/* لنداسکیپ موبایل (صفحه افقی) */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .stats-section,
    .features-section,
    .faq-section {
        padding: 25px 15px;
    }
    
    .stats-grid {
        gap: 12px;
    }
    
    .stat-card {
        min-width: 200px;
        padding: 10px 18px;
    }
    
    .stat-icon {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .faq-question {
        padding: 10px 18px;
    }
    
    .faq-answer {
        font-size: 0.8rem;
    }
}

/* انیمیشن برای کارت‌های ویژگی */
.feature-card {
    animation: fadeInUp 0.5s ease backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.3s; }
.feature-card:nth-child(7) { animation-delay: 0.35s; }
.feature-card:nth-child(8) { animation-delay: 0.4s; }
.feature-card:nth-child(9) { animation-delay: 0.45s; }
.feature-card:nth-child(10) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* انیمیشن برای کارت‌های آمار */
.stat-card {
    animation: fadeInScale 0.4s ease backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* انیمیشن برای آیتم‌های FAQ */
.faq-item {
    animation: slideInRight 0.4s ease backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}